package top.saodisheng.springcloud.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import top.saodisheng.springcloud.pojo.Dept;

import java.util.List;

/**
 * Description:
 *
 * @author 扫地生_saodisheng
 */

@Mapper
@Repository
public interface DeptDao {
    public boolean addDept(Dept dept);

    public Dept queryById(Long id);

    public List<Dept> queryAll();
}
